package at.fhj.itm11.forum.service.impl;

import javax.ejb.Stateless;
import javax.inject.Inject;
import javax.inject.Named;

import at.fhj.itm11.forum.data.TestHelperDAO;
import at.fhj.itm11.forum.service.TestHelperService;

@Stateless
@Named
public class TestHelperServiceImpl implements TestHelperService {

	@Inject
	@Named("testHelperDAOImpl")
	private TestHelperDAO dao;

	@Override
	public void cleanDB() {
		dao.cleanDB();
	}

	public void createDemoData() {
		dao.createDemoData();
	}

	public void setDao(TestHelperDAO dao) {
		this.dao = dao;
	}

}
